package com.zimmur.model.fdfs;

import com.fasterxml.jackson.annotation.JsonIgnore;

public class FastDFSFile {
	/**
	 * 
	 */
	private static final long serialVersionUID = 7771256570829228610L;

	private String name;
	@JsonIgnore
	private byte[] content;

	private String ext;

	private String author = "Jack";
	private long size;
	private String saveId;

	public FastDFSFile(String name, byte[] content, String ext, String height,
		      String width, String author) {
	    super();
	    this.name = name;
	    this.content = content;
	    this.ext = ext;
	    this.author = author;
	  }
		  
	  public FastDFSFile(String name, byte[] content, String ext) {
	    super();
	    this.name = name;
	    this.content = content;
	    this.ext = ext;
	  }

	  public byte[] getContent() {
	    return content;
	  }

	  public void setContent(byte[] content) {
	    this.content = content;
	  }

	  public String getExt() {
	    return ext;
	  }

	  public void setExt(String ext) {
	    this.ext = ext;
	  }


	  public String getAuthor() {
	    return author;
	  }

	  public void setAuthor(String author) {
	    this.author = author;
	  }

	  public String getName() {
	    return name;
	  }

	  public void setName(String name) {
	    this.name = name;
	  }

	public long getSize() {
		return size;
	}

	public void setSize(long size) {
		this.size = size;
	}

	public String getSaveId() {
		return saveId;
	}

	public void setSaveId(String saveId) {
		this.saveId = saveId;
	}
	  
	  
}
